
// FieldDefinition.cpp : Implementation of CFieldDefinition

#include "stdafx.h"
#include "FieldDefinition.h"


// CFieldDefinition

STDMETHODIMP CFieldDefinition::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IFieldDefinition
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}

STDMETHODIMP CFieldDefinition::get_Id(LONG* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CFieldDefinition::get_Name(BSTR* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CFieldDefinition::get_EditType(TsFieldEditTypeEnum* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CFieldDefinition::get_IsEditable(VARIANT_BOOL* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CFieldDefinition::get_IsQueryable(VARIANT_BOOL* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}
//
//STDMETHODIMP CFieldDefinition::get_ValidValues(IValues** pVal)
//{
//	// TODO: Add your implementation code here
//
//	return S_OK;
//}


STDMETHODIMP CFieldDefinition::get_DatastoreItemType(TsDatastoreItemTypeEnum* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}


STDMETHODIMP CFieldDefinition::get_CanReadWithoutOpen(VARIANT_BOOL* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}


STDMETHODIMP CFieldDefinition::get_IsRequired(VARIANT_BOOL* pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}
